package com.acquisition.common.utils;

import java.util.UUID;

/**
 * @Author Jay Chou
 * @Description uuid
 * @Date 2023-04-12 11:14
 **/
public class UUIDGenerator {
   
	/**
	 * @Author Jay Chou
	 * @Description 获取36位uuid
	 * @Date 2023-04-12 11:14
	 * @return java.lang.String
	 **/
	public static String getUUID() {
		return UUID.randomUUID().toString();
	}

	/**
	 * @Author Jay Chou
	 * @Description 获取32位uuid
	 * @Date 2023-04-12 11:14
	 * @return java.lang.String
	 **/
	public static String getUUID32() {
		return UUID.randomUUID().toString().replaceAll("-", "");
	}

}
